package com.spic.business.accident.interevents.classreport.domain;

import java.util.List;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

/**
 * 内部事件班组自查报告对象 internal_event_inspection_report
 *
 * @author 任翔
 * @date 2021-12-01
 */
public class InternalEventInspectionReport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Long id;

    /**
     * 自查编号
     */
    private String checkNumber;

    /**
     * 公司
     */
    private String company;

    /**
     * 事件名称
     */
    @Excel(name = "事件名称")
    private String eventName;

    /**
     * 事件编号
     */
    private String eventNumber;

    /**
     * 责任单位
     */
    private String dutyDept;

    /**
     * 事故类型
     */
    @Excel(name = "事故类型")
    private String accidentType;

    /**
     * 整改计划
     */
    @Excel(name = "整改计划")
    private String rectificationPlan;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 自查责任单位
     */
    private String checkDutyDept;

    /**
     * 编制时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "编制时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date editTime;

    /**
     * 班组
     */
    @Excel(name = "班组")
    private String className;

    /**
     * 防范措施
     */
    private String measuresPrevent;

    /**
     * 自查报报告类别（1.班组自查，2.部门自查）
     */
    private String inspectionType;

    /**
     * 附件地址
     */
    private String fileUrl;

    /**
     * 备注
     */
    private String remrk;

    /**
     * 自查隐患整改信息
     */
    private List<CheckHiddenTroubleRectification> checkHiddenTroubleRectificationList;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCheckNumber(String checkNumber) {
        this.checkNumber = checkNumber;
    }

    public String getCheckNumber() {
        return checkNumber;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompany() {
        return company;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventNumber(String eventNumber) {
        this.eventNumber = eventNumber;
    }

    public String getEventNumber() {
        return eventNumber;
    }

    public void setDutyDept(String dutyDept) {
        this.dutyDept = dutyDept;
    }

    public String getDutyDept() {
        return dutyDept;
    }

    public void setAccidentType(String accidentType) {
        this.accidentType = accidentType;
    }

    public String getAccidentType() {
        return accidentType;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setCheckDutyDept(String checkDutyDept) {
        this.checkDutyDept = checkDutyDept;
    }

    public String getCheckDutyDept() {
        return checkDutyDept;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassName() {
        return className;
    }

    public void setMeasuresPrevent(String measuresPrevent) {
        this.measuresPrevent = measuresPrevent;
    }

    public String getMeasuresPrevent() {
        return measuresPrevent;
    }

    public void setInspectionType(String inspectionType) {
        this.inspectionType = inspectionType;
    }

    public String getInspectionType() {
        return inspectionType;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setRemrk(String remrk) {
        this.remrk = remrk;
    }

    public String getRemrk() {
        return remrk;
    }

    public List<CheckHiddenTroubleRectification> getCheckHiddenTroubleRectificationList() {
        return checkHiddenTroubleRectificationList;
    }

    public void setCheckHiddenTroubleRectificationList(List<CheckHiddenTroubleRectification> checkHiddenTroubleRectificationList) {
        this.checkHiddenTroubleRectificationList = checkHiddenTroubleRectificationList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("checkNumber", getCheckNumber())
                .append("company", getCompany())
                .append("eventName", getEventName())
                .append("eventNumber", getEventNumber())
                .append("dutyDept", getDutyDept())
                .append("accidentType", getAccidentType())
                .append("status", getStatus())
                .append("checkDutyDept", getCheckDutyDept())
                .append("editTime", getEditTime())
                .append("className", getClassName())
                .append("measuresPrevent", getMeasuresPrevent())
                .append("inspectionType", getInspectionType())
                .append("fileUrl", getFileUrl())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remrk", getRemrk())
                .append("checkHiddenTroubleRectificationList", getCheckHiddenTroubleRectificationList())
                .toString();
    }

    public String getRectificationPlan() {
        return rectificationPlan;
    }

    public void setRectificationPlan(String rectificationPlan) {
        this.rectificationPlan = rectificationPlan;
    }
}
